package cn.ronghuanet.org.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ShopRegisterDTO {

    @NotBlank(message = "{validate.shop.register.name.notblank.message}")
    private String name;

    @NotBlank(message = "{validate.shop.register.tel.notblank.message}")
    private String tel;

    @NotBlank(message = "{validate.shop.register.address.notblank.message}")
    private String address;

    private String logo;

    @NotNull
    private ShopAdminDTO admin;

}
